<?php include_once 'include.php';check_login();?>
<!DOCTYPE html>
<html>
<head>
    <?php include_once 'common_js_css.php'?>
    <link rel="stylesheet" type="text/css" href="css/addlianxi.css">
</head>
<body>
<!-- 右边 B -->
<div class="cont" style="height: 730px">
    <h1 style="text-align: center;">练习添加</h1>
    <form id="form1" style="margin-left: 240px;margin-top: 40px">
      <table width="650"  align="center" cellspacing="0">
        <tr>
          <td width="90" height="40" align="center">练习名称</td>
          <td width="350" height="30"><label for="title"></label>
          <input type="text" name="title" id="title"></td>
        </tr>
          <tr>
              <td align="center" height="40">练习资料类型</td>
              <td><label for="kejian"></label>
                  <select name="kejian" id="type">
                      <option value="1" selected>doc</option>
                      <option value="2">SWF</option>
                  </select>
              </td>
          </tr>
        <tr>
            <td height="40" align="center">内容</td>
            <td ><label for="cont"></label><label for="file"></label>
                <input type="file" name="file_url" id="file" onchange="upload_file()">
                <input type="text" id="file_name" style="display: none"></td>
        </tr>
        <tr>
            <td colspan="4" align="center" height="50">
                <input type="button" value="添加" onclick="add_kecheng('lyy_lianxi')">
                <input type="reset" name="reset" id="reset" value="重置" onclick="$('#form1').reset()">
            </td>
        </tr>
      </table>
    </form>
</div>
</body>
</html>